﻿@namespace MatBlazor
@using Microsoft.AspNetCore.Components
@inherits BaseMatDomComponent
<h2 class="@ClassMapper.AsString()" style="@StyleMapper.AsString()" @ref="Ref"  @attributes="Attributes" Id="@Id">
    @ChildContent
</h2>

@code
{

    [Parameter]
    public  RenderFragment ChildContent { get; set; }

    protected async override Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();
        ClassMapper.Add("mdc-dialog__title");
    }

}